package com.leejw.tradeblogsystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author: jwli3
 * @Desc:
 * @create: 2024-08-27
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("record")
public class Record implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("share_code")
    private String shareCode;

    @TableField("share_name")
    private String shareName;

    @TableField("operate_date")
    private LocalDate operateDate;

    @TableField("sell_date")
    private LocalDate sellDate;

    @TableField("sell_price")
    private String sellPrice;

    @TableField("buy_price")
    private String buyPrice;

    @TableField("count")
    private String count;

    @TableField("total")
    private String total;

    @TableField("tax")
    private String tax;

    @TableField("salary")
    private String salary;

    @TableField("record_content")
    private String recordContent;
}
